package cn.getech.data.metadata.entity.meta;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CollectionTableInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CollectionTableInfoExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andDbNameIsNull() {
            addCriterion("db_name is null");
            return (Criteria) this;
        }

        public Criteria andDbNameIsNotNull() {
            addCriterion("db_name is not null");
            return (Criteria) this;
        }

        public Criteria andDbNameEqualTo(String value) {
            addCriterion("db_name =", value, "dbName");
            return (Criteria) this;
        }

        public Criteria andDbNameNotEqualTo(String value) {
            addCriterion("db_name <>", value, "dbName");
            return (Criteria) this;
        }

        public Criteria andDbNameGreaterThan(String value) {
            addCriterion("db_name >", value, "dbName");
            return (Criteria) this;
        }

        public Criteria andDbNameGreaterThanOrEqualTo(String value) {
            addCriterion("db_name >=", value, "dbName");
            return (Criteria) this;
        }

        public Criteria andDbNameLessThan(String value) {
            addCriterion("db_name <", value, "dbName");
            return (Criteria) this;
        }

        public Criteria andDbNameLessThanOrEqualTo(String value) {
            addCriterion("db_name <=", value, "dbName");
            return (Criteria) this;
        }

        public Criteria andDbNameLike(String value) {
            addCriterion("db_name like", value, "dbName");
            return (Criteria) this;
        }

        public Criteria andDbNameNotLike(String value) {
            addCriterion("db_name not like", value, "dbName");
            return (Criteria) this;
        }

        public Criteria andDbNameIn(List<String> values) {
            addCriterion("db_name in", values, "dbName");
            return (Criteria) this;
        }

        public Criteria andDbNameNotIn(List<String> values) {
            addCriterion("db_name not in", values, "dbName");
            return (Criteria) this;
        }

        public Criteria andDbNameBetween(String value1, String value2) {
            addCriterion("db_name between", value1, value2, "dbName");
            return (Criteria) this;
        }

        public Criteria andDbNameNotBetween(String value1, String value2) {
            addCriterion("db_name not between", value1, value2, "dbName");
            return (Criteria) this;
        }

        public Criteria andTableNameIsNull() {
            addCriterion("`table_name` is null");
            return (Criteria) this;
        }

        public Criteria andTableNameIsNotNull() {
            addCriterion("`table_name` is not null");
            return (Criteria) this;
        }

        public Criteria andTableNameEqualTo(String value) {
            addCriterion("`table_name` =", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameNotEqualTo(String value) {
            addCriterion("`table_name` <>", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameGreaterThan(String value) {
            addCriterion("`table_name` >", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameGreaterThanOrEqualTo(String value) {
            addCriterion("`table_name` >=", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameLessThan(String value) {
            addCriterion("`table_name` <", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameLessThanOrEqualTo(String value) {
            addCriterion("`table_name` <=", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameLike(String value) {
            addCriterion("`table_name` like", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameNotLike(String value) {
            addCriterion("`table_name` not like", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameIn(List<String> values) {
            addCriterion("`table_name` in", values, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameNotIn(List<String> values) {
            addCriterion("`table_name` not in", values, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameBetween(String value1, String value2) {
            addCriterion("`table_name` between", value1, value2, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameNotBetween(String value1, String value2) {
            addCriterion("`table_name` not between", value1, value2, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableAliasIsNull() {
            addCriterion("table_alias is null");
            return (Criteria) this;
        }

        public Criteria andTableAliasIsNotNull() {
            addCriterion("table_alias is not null");
            return (Criteria) this;
        }

        public Criteria andTableAliasEqualTo(String value) {
            addCriterion("table_alias =", value, "tableAlias");
            return (Criteria) this;
        }

        public Criteria andTableAliasNotEqualTo(String value) {
            addCriterion("table_alias <>", value, "tableAlias");
            return (Criteria) this;
        }

        public Criteria andTableAliasGreaterThan(String value) {
            addCriterion("table_alias >", value, "tableAlias");
            return (Criteria) this;
        }

        public Criteria andTableAliasGreaterThanOrEqualTo(String value) {
            addCriterion("table_alias >=", value, "tableAlias");
            return (Criteria) this;
        }

        public Criteria andTableAliasLessThan(String value) {
            addCriterion("table_alias <", value, "tableAlias");
            return (Criteria) this;
        }

        public Criteria andTableAliasLessThanOrEqualTo(String value) {
            addCriterion("table_alias <=", value, "tableAlias");
            return (Criteria) this;
        }

        public Criteria andTableAliasLike(String value) {
            addCriterion("table_alias like", value, "tableAlias");
            return (Criteria) this;
        }

        public Criteria andTableAliasNotLike(String value) {
            addCriterion("table_alias not like", value, "tableAlias");
            return (Criteria) this;
        }

        public Criteria andTableAliasIn(List<String> values) {
            addCriterion("table_alias in", values, "tableAlias");
            return (Criteria) this;
        }

        public Criteria andTableAliasNotIn(List<String> values) {
            addCriterion("table_alias not in", values, "tableAlias");
            return (Criteria) this;
        }

        public Criteria andTableAliasBetween(String value1, String value2) {
            addCriterion("table_alias between", value1, value2, "tableAlias");
            return (Criteria) this;
        }

        public Criteria andTableAliasNotBetween(String value1, String value2) {
            addCriterion("table_alias not between", value1, value2, "tableAlias");
            return (Criteria) this;
        }

        public Criteria andTableLeaderIsNull() {
            addCriterion("table_leader is null");
            return (Criteria) this;
        }

        public Criteria andTableLeaderIsNotNull() {
            addCriterion("table_leader is not null");
            return (Criteria) this;
        }

        public Criteria andTableLeaderEqualTo(String value) {
            addCriterion("table_leader =", value, "tableLeader");
            return (Criteria) this;
        }

        public Criteria andTableLeaderNotEqualTo(String value) {
            addCriterion("table_leader <>", value, "tableLeader");
            return (Criteria) this;
        }

        public Criteria andTableLeaderGreaterThan(String value) {
            addCriterion("table_leader >", value, "tableLeader");
            return (Criteria) this;
        }

        public Criteria andTableLeaderGreaterThanOrEqualTo(String value) {
            addCriterion("table_leader >=", value, "tableLeader");
            return (Criteria) this;
        }

        public Criteria andTableLeaderLessThan(String value) {
            addCriterion("table_leader <", value, "tableLeader");
            return (Criteria) this;
        }

        public Criteria andTableLeaderLessThanOrEqualTo(String value) {
            addCriterion("table_leader <=", value, "tableLeader");
            return (Criteria) this;
        }

        public Criteria andTableLeaderLike(String value) {
            addCriterion("table_leader like", value, "tableLeader");
            return (Criteria) this;
        }

        public Criteria andTableLeaderNotLike(String value) {
            addCriterion("table_leader not like", value, "tableLeader");
            return (Criteria) this;
        }

        public Criteria andTableLeaderIn(List<String> values) {
            addCriterion("table_leader in", values, "tableLeader");
            return (Criteria) this;
        }

        public Criteria andTableLeaderNotIn(List<String> values) {
            addCriterion("table_leader not in", values, "tableLeader");
            return (Criteria) this;
        }

        public Criteria andTableLeaderBetween(String value1, String value2) {
            addCriterion("table_leader between", value1, value2, "tableLeader");
            return (Criteria) this;
        }

        public Criteria andTableLeaderNotBetween(String value1, String value2) {
            addCriterion("table_leader not between", value1, value2, "tableLeader");
            return (Criteria) this;
        }

        public Criteria andOwnSystemIsNull() {
            addCriterion("own_system is null");
            return (Criteria) this;
        }

        public Criteria andOwnSystemIsNotNull() {
            addCriterion("own_system is not null");
            return (Criteria) this;
        }

        public Criteria andOwnSystemEqualTo(Integer value) {
            addCriterion("own_system =", value, "ownSystem");
            return (Criteria) this;
        }

        public Criteria andOwnSystemNotEqualTo(Integer value) {
            addCriterion("own_system <>", value, "ownSystem");
            return (Criteria) this;
        }

        public Criteria andOwnSystemGreaterThan(Integer value) {
            addCriterion("own_system >", value, "ownSystem");
            return (Criteria) this;
        }

        public Criteria andOwnSystemGreaterThanOrEqualTo(Integer value) {
            addCriterion("own_system >=", value, "ownSystem");
            return (Criteria) this;
        }

        public Criteria andOwnSystemLessThan(Integer value) {
            addCriterion("own_system <", value, "ownSystem");
            return (Criteria) this;
        }

        public Criteria andOwnSystemLessThanOrEqualTo(Integer value) {
            addCriterion("own_system <=", value, "ownSystem");
            return (Criteria) this;
        }

        public Criteria andOwnSystemIn(List<Integer> values) {
            addCriterion("own_system in", values, "ownSystem");
            return (Criteria) this;
        }

        public Criteria andOwnSystemNotIn(List<Integer> values) {
            addCriterion("own_system not in", values, "ownSystem");
            return (Criteria) this;
        }

        public Criteria andOwnSystemBetween(Integer value1, Integer value2) {
            addCriterion("own_system between", value1, value2, "ownSystem");
            return (Criteria) this;
        }

        public Criteria andOwnSystemNotBetween(Integer value1, Integer value2) {
            addCriterion("own_system not between", value1, value2, "ownSystem");
            return (Criteria) this;
        }

        public Criteria andOwnMduleIsNull() {
            addCriterion("own_mdule is null");
            return (Criteria) this;
        }

        public Criteria andOwnMduleIsNotNull() {
            addCriterion("own_mdule is not null");
            return (Criteria) this;
        }

        public Criteria andOwnMduleEqualTo(Integer value) {
            addCriterion("own_mdule =", value, "ownMdule");
            return (Criteria) this;
        }

        public Criteria andOwnMduleNotEqualTo(Integer value) {
            addCriterion("own_mdule <>", value, "ownMdule");
            return (Criteria) this;
        }

        public Criteria andOwnMduleGreaterThan(Integer value) {
            addCriterion("own_mdule >", value, "ownMdule");
            return (Criteria) this;
        }

        public Criteria andOwnMduleGreaterThanOrEqualTo(Integer value) {
            addCriterion("own_mdule >=", value, "ownMdule");
            return (Criteria) this;
        }

        public Criteria andOwnMduleLessThan(Integer value) {
            addCriterion("own_mdule <", value, "ownMdule");
            return (Criteria) this;
        }

        public Criteria andOwnMduleLessThanOrEqualTo(Integer value) {
            addCriterion("own_mdule <=", value, "ownMdule");
            return (Criteria) this;
        }

        public Criteria andOwnMduleIn(List<Integer> values) {
            addCriterion("own_mdule in", values, "ownMdule");
            return (Criteria) this;
        }

        public Criteria andOwnMduleNotIn(List<Integer> values) {
            addCriterion("own_mdule not in", values, "ownMdule");
            return (Criteria) this;
        }

        public Criteria andOwnMduleBetween(Integer value1, Integer value2) {
            addCriterion("own_mdule between", value1, value2, "ownMdule");
            return (Criteria) this;
        }

        public Criteria andOwnMduleNotBetween(Integer value1, Integer value2) {
            addCriterion("own_mdule not between", value1, value2, "ownMdule");
            return (Criteria) this;
        }

        public Criteria andTaskTypeIsNull() {
            addCriterion("task_type is null");
            return (Criteria) this;
        }

        public Criteria andTaskTypeIsNotNull() {
            addCriterion("task_type is not null");
            return (Criteria) this;
        }

        public Criteria andTaskTypeEqualTo(Integer value) {
            addCriterion("task_type =", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeNotEqualTo(Integer value) {
            addCriterion("task_type <>", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeGreaterThan(Integer value) {
            addCriterion("task_type >", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("task_type >=", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeLessThan(Integer value) {
            addCriterion("task_type <", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeLessThanOrEqualTo(Integer value) {
            addCriterion("task_type <=", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeIn(List<Integer> values) {
            addCriterion("task_type in", values, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeNotIn(List<Integer> values) {
            addCriterion("task_type not in", values, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeBetween(Integer value1, Integer value2) {
            addCriterion("task_type between", value1, value2, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("task_type not between", value1, value2, "taskType");
            return (Criteria) this;
        }

        public Criteria andViewCountIsNull() {
            addCriterion("view_count is null");
            return (Criteria) this;
        }

        public Criteria andViewCountIsNotNull() {
            addCriterion("view_count is not null");
            return (Criteria) this;
        }

        public Criteria andViewCountEqualTo(Integer value) {
            addCriterion("view_count =", value, "viewCount");
            return (Criteria) this;
        }

        public Criteria andViewCountNotEqualTo(Integer value) {
            addCriterion("view_count <>", value, "viewCount");
            return (Criteria) this;
        }

        public Criteria andViewCountGreaterThan(Integer value) {
            addCriterion("view_count >", value, "viewCount");
            return (Criteria) this;
        }

        public Criteria andViewCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("view_count >=", value, "viewCount");
            return (Criteria) this;
        }

        public Criteria andViewCountLessThan(Integer value) {
            addCriterion("view_count <", value, "viewCount");
            return (Criteria) this;
        }

        public Criteria andViewCountLessThanOrEqualTo(Integer value) {
            addCriterion("view_count <=", value, "viewCount");
            return (Criteria) this;
        }

        public Criteria andViewCountIn(List<Integer> values) {
            addCriterion("view_count in", values, "viewCount");
            return (Criteria) this;
        }

        public Criteria andViewCountNotIn(List<Integer> values) {
            addCriterion("view_count not in", values, "viewCount");
            return (Criteria) this;
        }

        public Criteria andViewCountBetween(Integer value1, Integer value2) {
            addCriterion("view_count between", value1, value2, "viewCount");
            return (Criteria) this;
        }

        public Criteria andViewCountNotBetween(Integer value1, Integer value2) {
            addCriterion("view_count not between", value1, value2, "viewCount");
            return (Criteria) this;
        }

        public Criteria andRowsNumIsNull() {
            addCriterion("rows_num is null");
            return (Criteria) this;
        }

        public Criteria andRowsNumIsNotNull() {
            addCriterion("rows_num is not null");
            return (Criteria) this;
        }

        public Criteria andRowsNumEqualTo(Long value) {
            addCriterion("rows_num =", value, "rowsNum");
            return (Criteria) this;
        }

        public Criteria andRowsNumNotEqualTo(Long value) {
            addCriterion("rows_num <>", value, "rowsNum");
            return (Criteria) this;
        }

        public Criteria andRowsNumGreaterThan(Long value) {
            addCriterion("rows_num >", value, "rowsNum");
            return (Criteria) this;
        }

        public Criteria andRowsNumGreaterThanOrEqualTo(Long value) {
            addCriterion("rows_num >=", value, "rowsNum");
            return (Criteria) this;
        }

        public Criteria andRowsNumLessThan(Long value) {
            addCriterion("rows_num <", value, "rowsNum");
            return (Criteria) this;
        }

        public Criteria andRowsNumLessThanOrEqualTo(Long value) {
            addCriterion("rows_num <=", value, "rowsNum");
            return (Criteria) this;
        }

        public Criteria andRowsNumIn(List<Long> values) {
            addCriterion("rows_num in", values, "rowsNum");
            return (Criteria) this;
        }

        public Criteria andRowsNumNotIn(List<Long> values) {
            addCriterion("rows_num not in", values, "rowsNum");
            return (Criteria) this;
        }

        public Criteria andRowsNumBetween(Long value1, Long value2) {
            addCriterion("rows_num between", value1, value2, "rowsNum");
            return (Criteria) this;
        }

        public Criteria andRowsNumNotBetween(Long value1, Long value2) {
            addCriterion("rows_num not between", value1, value2, "rowsNum");
            return (Criteria) this;
        }

        public Criteria andTotalSizeIsNull() {
            addCriterion("total_size is null");
            return (Criteria) this;
        }

        public Criteria andTotalSizeIsNotNull() {
            addCriterion("total_size is not null");
            return (Criteria) this;
        }

        public Criteria andTotalSizeEqualTo(Double value) {
            addCriterion("total_size =", value, "totalSize");
            return (Criteria) this;
        }

        public Criteria andTotalSizeNotEqualTo(Double value) {
            addCriterion("total_size <>", value, "totalSize");
            return (Criteria) this;
        }

        public Criteria andTotalSizeGreaterThan(Double value) {
            addCriterion("total_size >", value, "totalSize");
            return (Criteria) this;
        }

        public Criteria andTotalSizeGreaterThanOrEqualTo(Double value) {
            addCriterion("total_size >=", value, "totalSize");
            return (Criteria) this;
        }

        public Criteria andTotalSizeLessThan(Double value) {
            addCriterion("total_size <", value, "totalSize");
            return (Criteria) this;
        }

        public Criteria andTotalSizeLessThanOrEqualTo(Double value) {
            addCriterion("total_size <=", value, "totalSize");
            return (Criteria) this;
        }

        public Criteria andTotalSizeIn(List<Double> values) {
            addCriterion("total_size in", values, "totalSize");
            return (Criteria) this;
        }

        public Criteria andTotalSizeNotIn(List<Double> values) {
            addCriterion("total_size not in", values, "totalSize");
            return (Criteria) this;
        }

        public Criteria andTotalSizeBetween(Double value1, Double value2) {
            addCriterion("total_size between", value1, value2, "totalSize");
            return (Criteria) this;
        }

        public Criteria andTotalSizeNotBetween(Double value1, Double value2) {
            addCriterion("total_size not between", value1, value2, "totalSize");
            return (Criteria) this;
        }

        public Criteria andTempFlagIsNull() {
            addCriterion("temp_flag is null");
            return (Criteria) this;
        }

        public Criteria andTempFlagIsNotNull() {
            addCriterion("temp_flag is not null");
            return (Criteria) this;
        }

        public Criteria andTempFlagEqualTo(Integer value) {
            addCriterion("temp_flag =", value, "tempFlag");
            return (Criteria) this;
        }

        public Criteria andTempFlagNotEqualTo(Integer value) {
            addCriterion("temp_flag <>", value, "tempFlag");
            return (Criteria) this;
        }

        public Criteria andTempFlagGreaterThan(Integer value) {
            addCriterion("temp_flag >", value, "tempFlag");
            return (Criteria) this;
        }

        public Criteria andTempFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("temp_flag >=", value, "tempFlag");
            return (Criteria) this;
        }

        public Criteria andTempFlagLessThan(Integer value) {
            addCriterion("temp_flag <", value, "tempFlag");
            return (Criteria) this;
        }

        public Criteria andTempFlagLessThanOrEqualTo(Integer value) {
            addCriterion("temp_flag <=", value, "tempFlag");
            return (Criteria) this;
        }

        public Criteria andTempFlagIn(List<Integer> values) {
            addCriterion("temp_flag in", values, "tempFlag");
            return (Criteria) this;
        }

        public Criteria andTempFlagNotIn(List<Integer> values) {
            addCriterion("temp_flag not in", values, "tempFlag");
            return (Criteria) this;
        }

        public Criteria andTempFlagBetween(Integer value1, Integer value2) {
            addCriterion("temp_flag between", value1, value2, "tempFlag");
            return (Criteria) this;
        }

        public Criteria andTempFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("temp_flag not between", value1, value2, "tempFlag");
            return (Criteria) this;
        }

        public Criteria andTableDescIsNull() {
            addCriterion("table_desc is null");
            return (Criteria) this;
        }

        public Criteria andTableDescIsNotNull() {
            addCriterion("table_desc is not null");
            return (Criteria) this;
        }

        public Criteria andTableDescEqualTo(String value) {
            addCriterion("table_desc =", value, "tableDesc");
            return (Criteria) this;
        }

        public Criteria andTableDescNotEqualTo(String value) {
            addCriterion("table_desc <>", value, "tableDesc");
            return (Criteria) this;
        }

        public Criteria andTableDescGreaterThan(String value) {
            addCriterion("table_desc >", value, "tableDesc");
            return (Criteria) this;
        }

        public Criteria andTableDescGreaterThanOrEqualTo(String value) {
            addCriterion("table_desc >=", value, "tableDesc");
            return (Criteria) this;
        }

        public Criteria andTableDescLessThan(String value) {
            addCriterion("table_desc <", value, "tableDesc");
            return (Criteria) this;
        }

        public Criteria andTableDescLessThanOrEqualTo(String value) {
            addCriterion("table_desc <=", value, "tableDesc");
            return (Criteria) this;
        }

        public Criteria andTableDescLike(String value) {
            addCriterion("table_desc like", value, "tableDesc");
            return (Criteria) this;
        }

        public Criteria andTableDescNotLike(String value) {
            addCriterion("table_desc not like", value, "tableDesc");
            return (Criteria) this;
        }

        public Criteria andTableDescIn(List<String> values) {
            addCriterion("table_desc in", values, "tableDesc");
            return (Criteria) this;
        }

        public Criteria andTableDescNotIn(List<String> values) {
            addCriterion("table_desc not in", values, "tableDesc");
            return (Criteria) this;
        }

        public Criteria andTableDescBetween(String value1, String value2) {
            addCriterion("table_desc between", value1, value2, "tableDesc");
            return (Criteria) this;
        }

        public Criteria andTableDescNotBetween(String value1, String value2) {
            addCriterion("table_desc not between", value1, value2, "tableDesc");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("create_user is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("create_user is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(Long value) {
            addCriterion("create_user =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(Long value) {
            addCriterion("create_user <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(Long value) {
            addCriterion("create_user >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(Long value) {
            addCriterion("create_user >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(Long value) {
            addCriterion("create_user <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(Long value) {
            addCriterion("create_user <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<Long> values) {
            addCriterion("create_user in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<Long> values) {
            addCriterion("create_user not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(Long value1, Long value2) {
            addCriterion("create_user between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(Long value1, Long value2) {
            addCriterion("create_user not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("update_user is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("update_user is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(Long value) {
            addCriterion("update_user =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(Long value) {
            addCriterion("update_user <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(Long value) {
            addCriterion("update_user >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(Long value) {
            addCriterion("update_user >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(Long value) {
            addCriterion("update_user <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(Long value) {
            addCriterion("update_user <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<Long> values) {
            addCriterion("update_user in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<Long> values) {
            addCriterion("update_user not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(Long value1, Long value2) {
            addCriterion("update_user between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(Long value1, Long value2) {
            addCriterion("update_user not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIsNull() {
            addCriterion("delete_flag is null");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIsNotNull() {
            addCriterion("delete_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagEqualTo(Integer value) {
            addCriterion("delete_flag =", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotEqualTo(Integer value) {
            addCriterion("delete_flag <>", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagGreaterThan(Integer value) {
            addCriterion("delete_flag >", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("delete_flag >=", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLessThan(Integer value) {
            addCriterion("delete_flag <", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLessThanOrEqualTo(Integer value) {
            addCriterion("delete_flag <=", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIn(List<Integer> values) {
            addCriterion("delete_flag in", values, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotIn(List<Integer> values) {
            addCriterion("delete_flag not in", values, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagBetween(Integer value1, Integer value2) {
            addCriterion("delete_flag between", value1, value2, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("delete_flag not between", value1, value2, "deleteFlag");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}